package cn.bdqn.t354;

import org.apache.shiro.crypto.hash.Md5Hash;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@SpringBootTest
@RunWith(SpringRunner.class)
public class Md5Tester {

    @Test
    public void test(){
        String password="123456";
//        e10adc3949ba59abbe56e057f20f883e
        Md5Hash md5Hash=new Md5Hash(password,"czkt",2);
//        Md5Hash md5Hash1=new Md5Hash(md5Hash);
        System.out.println(md5Hash.toString());
    }
}
